package com.hundsun.yr.universal.p2p.bean.enums;

import java.util.ArrayList;

import com.hundsun.yr.universal.p2p.bean.enums.base.Enum;
import com.hundsun.yr.universal.p2p.bean.enums.base.LabelEnum;
/**
 * 还款方式枚举类
 * @author tonglj
 *
 */
public class RefundWayEnum extends LabelEnum{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	
	public static RefundWayEnum ONCE_TIME = new RefundWayEnum("ONCE_TIME", "到期还本付息");
	public static RefundWayEnum MONTH_PROFIT = new RefundWayEnum("MONTH_PROFIT", "按月付息到期还本");
	public static RefundWayEnum QUARTER_PROFIT = new RefundWayEnum("QUARTER_PROFIT", "按季付息到期还本");
	public static RefundWayEnum HALFYEAR_PROFIT = new RefundWayEnum("HALFYEAR_PROFIT", "按半年付息到期还本");
	public static RefundWayEnum MONTH_AMT = new RefundWayEnum("MONTH_AMT", "按月等额本息");
	public static RefundWayEnum MONTH_PRINCIPAL = new RefundWayEnum("MONTH_PRINCIPAL", "按月等额本金");
	
	protected RefundWayEnum(String name, String lable) {
		super(name, lable, "refundWay");
		title = "还款方式";
	}
	
	@SuppressWarnings("unchecked")
	public static ArrayList<LabelEnum> getList() {
		mList.clear();
		mList.addAll(Enum.getEnumList(RefundWayEnum.class));
		return mList;
	}



}
